package main

import (
	"github.com/astaxie/beego"
	"go_web/common"
	_ "go_web/routers"
)

func main() {
	common.InitLogConfig()
	common.InitSessionConfig()
	common.InitCacheConfig()

	beego.SetStaticPath("/admin", "static/backend")
	beego.SetStaticPath("/front", "static/front")

	beego.Run()
}
